package cn.hx.admin.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (UserSign)实体类
 *
 * @author makejava
 * @since 2023-12-11 11:51:16
 */
public class UserSign implements Serializable {
    private static final long serialVersionUID = -28258505779813087L;
    /**
     * 打卡id
     */
    private Integer id;
    /**
     * 设备id
     */
    private String deviceId;
    /**
     * 打卡时间
     */
    private Date signTime;
    /**
     * 0：缺勤；1：迟到；2：请假；3：到勤
     */

    private String startTime;
    private String endTime;

    private String signInfo;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 修改人
     */
    private String updateUser;

    private User user;
    private Dept dept;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public String getSignInfo() {
        return signInfo;
    }

    public void setSignInfo(String signInfo) {
        this.signInfo = signInfo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return "UserSign{" +
                "id=" + id +
                ", deviceId='" + deviceId + '\'' +
                ", signTime=" + signTime +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", signInfo='" + signInfo + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", updateUser='" + updateUser + '\'' +
                ", user=" + user +
                ", dept=" + dept +
                '}';
    }
}

